package review;

/**
 * @author oldliu
 * @since 1.0
 */
public class DogTest {
    public static void main(String[] args) {
        //System.out.println(Dog.Legs);
//        Dog d=null;
//        System.out.println(d.Legs);
        final  Dog d2=new Dog();
        d2.name="大黄";
        d2.name="2黄";
        //d2=new Dog();
        Dog d3=null;
        System.out.println(d3 instanceof Dog);
        System.out.println(d3 instanceof Object);
        System.out.println(d2 instanceof Object);
    }
}
